package com.mindcraft.websocket.client;

import com.mindcraft.user.po.McUser;
import com.mindcraft.user.po.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(name = "user-api")
public interface UserClient {

    @GetMapping("/api/user/getUser")
    public McUser getUser(@RequestParam("userId")String userId);


}
